﻿using ExcelSystem.Model;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelSystem.ViewModelsClass
{
    public class MaterialViewModel : BindableBase
    {

        private bool isSelected;

        /// <summary>
        /// 是否选择
        /// </summary>
        public bool IsSelected
        {
            get { return isSelected; }
            set { SetProperty(ref isSelected, value); }
        }

        private DateTime schedulingDate;

        /// <summary>
        /// 排产日期
        /// </summary>
        public DateTime SchedulingDate
        {
            get { return schedulingDate; }
            set { SetProperty(ref schedulingDate, value); }
        }


        private DateTime deliveryDate;

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryDate
        {
            get { return deliveryDate; }
            set { SetProperty(ref deliveryDate, value); }
        }

        private DateTime createTime;

        /// <summary>
        /// 导入日期
        /// </summary>
        public DateTime CreateTime
        {
            get { return createTime; }
            set { SetProperty(ref createTime, value); }
        }

        





        private Material material;

        /// <summary>
        /// 物料实体
        /// </summary>
        public Material Material
        {
            get { return material; }
            set { SetProperty(ref material, value); }
        }


        private string wireRopeHole;

        /// <summary>
        /// 钢丝绳孔
        /// </summary>
        public string WireRopeHole
        {
            get { return wireRopeHole; }
            set { SetProperty(ref wireRopeHole, value); }
        }

        private string factory;

        /// <summary>
        /// 钢丝绳孔
        /// </summary>
        public string Factory
        {
            get { return factory; }
            set { SetProperty(ref factory, value); }
        }

        private string orderNo;

        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo
        {
            get { return orderNo; }
            set { SetProperty(ref orderNo, value); }
        }
        private string contractNo;

        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractNo
        {
            get { return contractNo; }
            set { SetProperty(ref contractNo, value); }
        }










    }
}
